package com.inspur.icity.bus.base.core.gaoderesult;

/**
 * Created by jn-dinggao on 2017/12/19.
 * 步行导航 步行路段信息
 */
public class StepResult {

    /**
     * 终点坐标
     */
    private String instruction;
    /**
     * 起点和终点的步行距离 单位：米
     */
    private String distance;
    /**
     * 道路名称
     */
    private String road;
    /**
     * 此路段预计步行时间 单位：秒
     */
    private String duration;
    /**
     * 格式为坐标串 如：116.481247,39.990704;116.481270,39.990726
     */
    private String polyline;
    /**
     * 步行主要动作
     */
    private String action;
    /**
     * 步行辅助动作
     */
    private String assistant_action;

    public String getInstruction() {
        return instruction;
    }

    public void setInstruction(String instruction) {
        this.instruction = instruction;
    }

    public String getDistance() {
        return distance;
    }

    public void setDistance(String distance) {
        this.distance = distance;
    }

    public String getRoad() {
        return road;
    }

    public void setRoad(String road) {
        this.road = road;
    }

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }

    public String getPolyline() {
        return polyline;
    }

    public void setPolyline(String polyline) {
        this.polyline = polyline;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public String getAssistant_action() {
        return assistant_action;
    }

    public void setAssistant_action(String assistant_action) {
        this.assistant_action = assistant_action;
    }

    @Override
    public String toString() {
        return "StepResult{" +
                "instruction='" + instruction + '\'' +
                ", distance='" + distance + '\'' +
                ", road='" + road + '\'' +
                ", duration='" + duration + '\'' +
                ", polyline='" + polyline + '\'' +
                ", action='" + action + '\'' +
                ", assistant_action='" + assistant_action + '\'' +
                '}';
    }
}
